﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mail;

namespace EzyGoEzySystem.Interfaces
{
    /// <summary>
    /// Send notification by Email or SMS interface
    /// </summary>
    /// <author>Phan Ngo Hoang An</author>
    public interface IEzyNotification
    {
        /// <summary>
        /// Send email
        /// </summary>
        /// <param name="from"></param>
        /// <param name="to"></param>
        /// <param name="subject"></param>
        /// <param name="body"></param>
        /// <returns></returns>
        bool SendEmail(string senderAddress, string senderName, string recipientAddress, string recipientName, string subject, string body);
        
        /// <summary>
        /// Send SMS
        /// </summary>
        /// <param name="phoneNo"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        bool SendSMS(string phoneNo, string message);
    }
}
